package basic;

public class Student extends People{
	String a;
    public Student(int number, String name,String sex) {
		super(number,name,sex);
		this.number = number;
		this.name = name;
		this.sex = sex;
	}

	 public String toString(){
	        return "Student(学生信息):  姓名：" + name
	                + "    学号：" + number + "   性别：" + sex ;
	    }
	 void tuike() {
    	 a=null;
     }
	 void delete() {
	      if(a== null);{
	  	  System.out.println("学生目前未选课");}
	  	 
	    }

}
	